package java_zhuoer_adv3;

import java.util.Scanner;

public class UpdateStr {

	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		// String pass = "123456";
		int pass = 12134;
		System.out.print("请输入新密码，回车表示保持不变");
		String s2 = input.nextLine();
		pass = s2.length() == 0 ? pass : Integer.parseInt(s2);

		System.out.println("现在密码是" + pass);

	}
}
